package com.video.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Task implements Serializable {
//  @TableId(type = IdType.AUTO)
//  private Integer id;
//  private String taskid;
//  private String solution;
//  private String account;
//  private Integer taskt; //任务类型 1 - 定时音乐 2 - 定时采集 3 - 消防报警 4 - 语音合成 5 - 实时音乐
//  @TableField("taskPriority")
//  private Integer taskPriority;
//  private String taskname;
//  private Integer taskclassify;
//  @TableField("playOrder")
//  private Integer playOrder;
//  @TableField("startDate")
//  private String startDate;
//  @TableField("startTime")
//  private String startTime;
//  @TableField("stopDate")
//  private String stopDate;
//  private Integer isenddate;
//  private Integer duration;
//  private Integer isduration;
//  private Integer startinadvance;
//  private String mp3;
//  @TableField("loopType")
//  private Integer loopType;
//  private Integer muiscduration;
//  private Integer samll;
//  private Integer volume = 10;
//  private Integer keybind;
//  @TableField("weekMask")
//  private Integer weekMask;
//  private String users;
//  private String collectionclient;
//  private String area;
//  @TableField("fireTerminal")
//  private Integer fireTerminal;
//  private Integer port;
//  @TableField("isLevel")
//  private Integer isLevel;
//  @TableField("isExternalMusic")
//  private Integer isExternalMusic;
//  @TableField("externalFireTerminal")
//  private String externalFireTerminal;
//  private String info;
//  private Integer reporter;
//  private Integer speed;
//  @TableField("loopNum")
//  private Integer loopNum;
//  private Integer status;
//  @TableField("taskType")
//  private Integer taskType;


  @TableId(type = IdType.AUTO)
  private int id;
  private String taskid;
  private String solution;
  private String account;
  private int taskt;//任务类型 1 - 定时音乐 2 - 定时采集 3 - 消防报警 4 - 语音合成 5 - 实时音乐
  @TableField("taskPriority")
  private int taskpriority;
  private String taskname;
  private int taskclassify;
  @TableField("playOrder")
  private int playOrder;//任务周期类型 1 - 每天任务  2 - 每周任务  3 - 一次任务
  @TableField("startDate")
  private String startDate;
  @TableField("startTime")
  private String startTime;
  @TableField("stopDate")
  private String stopDate;
  private int isenddate;
  private int duration;
  private int isduration;
  private int startinadvance;
  private String mp3;
  @TableField("loopType")
  private int looptype;
  private int muiscduration;
  private int samll;
  private int volume = 10;
  private int keybind;
  @TableField("weekMask")
  private int weekMask;
  private String users;
  private String collectionclient;
  private String area;
  @TableField("fireTerminal")
  private int fireTerminal;
  private int port;
  @TableField("isLevel")
  private int isLevel;
  @TableField("isExternalMusic")
  private int isExternalMusic;
  @TableField("externalFireTerminal")
  private String externalFireTerminal;
  private String info;
  private int reporter;
  private int speed;
  @TableField("loopNum")
  private int loopnum;
  @TableField("taskType")
  private int tasktype;
  private int status;
}
